package com.qd.common.flow.domain.bill;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 流程树
 *
 * @author sjk
 * @create 2024-02-28 14:52
 * @since 1.0.0
 */
@Data
public class ProcessTreeDTO {
    /**
     * 流程ID
     */
    private String processId;
    /**
     * 节点ID
     */
    private String nodeId;
    /**
     * 序号
     */
    private Integer nodeNumber;
    /**
     * 审批部门ID
     */
    private String approvalDepart;
    /**
     * 审批部门
     */
    private String approvalDepartName;
    /**
     * 任务ID
     */
    private String taskId;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 审批人姓名
     */
    private String approvalName;
    /**
     * 审批人所在单位名称
     */
    private String approvalOrgName;
    /**
     * 审批时间
     */
    private LocalDateTime addTime;

    public void freeData() {
        this.approvalDepart = null;
        this.approvalDepartName = null;
        this.approvalName = null;
        this.approvalOrgName = null;
        this.createTime = null;
        this.addTime = null;
    }

}